diff --git a/src/main/java/dan200/computercraft/shared/pocket/items/ItemPocketComputer.java b/src/main/java/dan200/computercraft/shared/pocket/items/ItemPocketComputer.java index c998e1dae..2089baf74 100644 --- a/src/main/java/dan200/computercraft/shared/pocket/items/ItemPocketComputer.java +++ b/src/main/java/dan200/computercraft/shared/pocket/items/ItemPocketComputer.java @@ -402,10 +402,10 @@ public class ItemPocketComputer extends Item implements IComputerItem, IMedia, I @Override public IMount createDataMount( @Nonnull ItemStack stack, @Nonnull World world ) { - ServerComputer computer = createServerComputer( world, null, null, stack ); - if( computer != null ) + int id = getComputerID( stack ); + if( id >= 0 ) { - return computer.getRootMount(); + return ComputerCraft.createSaveDirMount( world, "computer/" + id, ComputerCraft.computerSpaceLimit ); } return null; }