1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Fix "Ore Washer Dupe"

This commit is contained in:
AtomicScience 2017-11-23 00:09:44 +03:00
parent bda7a18c5b
commit cc9c07ad60

View File

@ -1337,8 +1337,8 @@ public class SlimefunSetup {
removing.setAmount(1);
inv.removeItem(removing);
inv.addItem(adding);
p.getWorld().playEffect(b.getLocation(), Effect.STEP_SOUND, Material.WATER);
p.getWorld().playSound(b.getLocation(), Sound.ENTITY_PLAYER_SPLASH, 1, 1);
p.getWorld().playEffect(b.getLocation(), Effect.STEP_SOUND, Material.WATER);
if (InvUtils.fits(inv, SlimefunItems.STONE_CHUNK)) inv.addItem(SlimefunItems.STONE_CHUNK);
}
else Messages.local.sendTranslation(p, "machines.full-inventory", true);