Being consistent is for noobs

Fixes Player Probe not disconnecting properly
This commit is contained in:
Ellpeck 2016-12-30 20:09:05 +01:00
parent f58f02f636
commit 0582f5aee3

View file

@ -58,7 +58,7 @@ public class ItemPlayerProbe extends ItemBase{
}
}
else{
ItemPhantomConnector.clearStorage(stack, "UUID", "Name");
ItemPhantomConnector.clearStorage(stack, "UUIDLeast", "UUIDMost", "Name");
entity.sendMessage(new TextComponentTranslation("tooltip."+ModUtil.MOD_ID+".playerProbe.disconnect.2"));
}
}
@ -81,7 +81,7 @@ public class ItemPlayerProbe extends ItemBase{
face.markDirty();
face.sendUpdate();
ItemPhantomConnector.clearStorage(stack, "UUID", "Name");
ItemPhantomConnector.clearStorage(stack, "UUIDLeast", "UUIDMost", "Name");
}
return EnumActionResult.SUCCESS;
}