mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Give an indication of the force relay binding.
Play the ding sound and removed the unused swingItem as it is never called. Closes #1089
This commit is contained in:
1 parent
65eaa8de51
commit
6cb3ef3246
1 file changed
+2
-3
@@ -160,9 +160,8 @@ public class ItemTwigWand extends Item16Colors implements ICoordBoundItem {
|
||||
BlockPistonRelay.playerPositions.remove(par2EntityPlayer.getCommandSenderName());
|
||||
BlockPistonRelay.mappedPositions.put(bindPos, currentPos);
|
||||
BlockPistonRelay.WorldData.get(par3World).markDirty();
|
||||
|
||||
if(par3World.isRemote)
|
||||
par2EntityPlayer.swingItem();
|
||||
|
||||
par3World.playSoundAtEntity(par2EntityPlayer, "botania:ding", 1F, 1F);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user