mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Fixed player probe saving #258
This commit is contained in:
parent
bfafc20b63
commit
b420823330
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue