1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Merge pull request #24 from John000708/master

Bracket was missing (No idea how the IDE did not pick this up...)
This commit is contained in:
John000708 2016-11-13 19:30:10 +01:00 committed by GitHub
commit 7fb81c8d3c

View File

@ -170,5 +170,7 @@ public class AncientAltarListener implements Listener {
else if (!e.getItem().hasMetadata("no_pickup") && e.getItem().getItemStack().hasItemMeta() && e.getItem().getItemStack().getItemMeta().hasDisplayName() && e.getItem().getItemStack().getItemMeta().getDisplayName().startsWith("§5§dALTAR §3Probe - §e")) {
e.setCancelled(true);
e.getItem().remove();
}
}
}