mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Added parameters to EventHandler
This commit is contained in:
parent
3fcfadb189
commit
229dca3766
@ -180,9 +180,8 @@ public class AncientAltarListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@EventHandler (priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||
public void onBlockPlace(BlockPlaceEvent e) {
|
||||
if(e.isCancelled()) return;
|
||||
Block b = e.getBlockPlaced().getRelative(0, -1, 0);
|
||||
SlimefunItem item = BlockStorage.check(b);
|
||||
if(item == null) return;
|
||||
|
Loading…
Reference in New Issue
Block a user