Fixed player probe saving #258

This commit is contained in:
Ellpeck 2016-09-25 20:44:40 +02:00
parent bfafc20b63
commit b420823330

View file

@ -50,7 +50,7 @@ public class ItemPlayerProbe extends ItemBase{
EntityPlayer player = world.getPlayerEntityByUUID(id); EntityPlayer player = world.getPlayerEntityByUUID(id);
if(player != null){ if(player != null){
if(player.isSneaking()){ if(player.isSneaking()){
ItemPhantomConnector.clearStorage(stack, "UUID", "Name"); ItemPhantomConnector.clearStorage(stack, "UUIDLeast", "UUIDMost", "Name");
entity.addChatMessage(new TextComponentTranslation("tooltip."+ModUtil.MOD_ID+".playerProbe.disconnect.1")); entity.addChatMessage(new TextComponentTranslation("tooltip."+ModUtil.MOD_ID+".playerProbe.disconnect.1"));
player.addChatMessage(new TextComponentTranslation("tooltip."+ModUtil.MOD_ID+".playerProbe.notice")); player.addChatMessage(new TextComponentTranslation("tooltip."+ModUtil.MOD_ID+".playerProbe.notice"));
TheAchievements.GET_UNPROBED.get(player); TheAchievements.GET_UNPROBED.get(player);