commands, camera, messages, overlay, ..
This commit is contained in:
parent
75f91dbf4c
commit
d45cd7ec2c
126 changed files with 854 additions and 628 deletions
|
@ -447,7 +447,7 @@ public class BlockChest extends BlockContainer
|
|||
if(stack.hasDisplayName() && stack.getDisplayName().equals(ilockablecontainer.getLockCode().getLock())) {
|
||||
ilockablecontainer.setLockCode(LockCode.EMPTY_CODE);
|
||||
// playerIn.triggerAchievement(StatRegistry.chestUnlockedStat);
|
||||
playerIn.connection.addFeed(TextColor.BLUE + "%s wurde entriegelt", ilockablecontainer.getCommandName());
|
||||
playerIn.connection.addHotbar(TextColor.BLUE + "%s wurde entriegelt", ilockablecontainer.getCommandName());
|
||||
playerIn.connection.sendPacket(new S29PacketSoundEffect(SoundEvent.DOOR, playerIn.posX, playerIn.posY, playerIn.posZ, 1.0F));
|
||||
return true;
|
||||
}
|
||||
|
@ -455,7 +455,7 @@ public class BlockChest extends BlockContainer
|
|||
else if(stack.hasDisplayName()) {
|
||||
ilockablecontainer.setLockCode(new LockCode(stack.getDisplayName()));
|
||||
// playerIn.triggerAchievement(StatRegistry.chestLockedStat);
|
||||
playerIn.connection.addFeed(TextColor.ORANGE + "%s wurde verriegelt", ilockablecontainer.getCommandName());
|
||||
playerIn.connection.addHotbar(TextColor.ORANGE + "%s wurde verriegelt", ilockablecontainer.getCommandName());
|
||||
playerIn.connection.sendPacket(new S29PacketSoundEffect(SoundEvent.DOOR, playerIn.posX, playerIn.posY, playerIn.posZ, 1.0F));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue