Merge branch 'development'

This commit is contained in:
Brianna 2019-11-27 21:05:31 -05:00
commit bc097a0945
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ stages:
variables: variables:
name: "UltimateStacker" name: "UltimateStacker"
path: "/builds/$CI_PROJECT_PATH" path: "/builds/$CI_PROJECT_PATH"
version: "1.10.21" version: "1.10.22"
build: build:
stage: build stage: build

View File

@ -37,7 +37,7 @@ public class BlockListeners implements Listener {
this.plugin = plugin; this.plugin = plugin;
} }
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onSpawnerInteract(PlayerInteractEvent event) { public void onSpawnerInteract(PlayerInteractEvent event) {
Block block = event.getClickedBlock(); Block block = event.getClickedBlock();
Player player = event.getPlayer(); Player player = event.getPlayer();
@ -136,7 +136,7 @@ public class BlockListeners implements Listener {
plugin.updateHologram(block); plugin.updateHologram(block);
} }
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onBlockBreak(BlockBreakEvent event) { public void onBlockBreak(BlockBreakEvent event) {
Block block = event.getBlock(); Block block = event.getBlock();
if (block.getType() != CompatibleMaterial.SPAWNER.getMaterial()) return; if (block.getType() != CompatibleMaterial.SPAWNER.getMaterial()) return;