From 4796393dab511d76690c96034a9d17518213885f Mon Sep 17 00:00:00 2001 From: mathias Date: Mon, 6 Aug 2018 04:15:07 +0300 Subject: [PATCH] Rollback to 1.12.2 for now --- pom.xml | 2 +- src/main/java/pw/kaboom/extras/Commands.java | 2 +- src/main/java/pw/kaboom/extras/Events.java | 4 +++- src/main/resources/plugin.yml | 1 - 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 3dd7d35..0c96a47 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ com.destroystokyo.paper paper-api - 1.13-R0.1-SNAPSHOT + 1.12.2-R0.1-SNAPSHOT provided diff --git a/src/main/java/pw/kaboom/extras/Commands.java b/src/main/java/pw/kaboom/extras/Commands.java index e9dc052..fc676dd 100644 --- a/src/main/java/pw/kaboom/extras/Commands.java +++ b/src/main/java/pw/kaboom/extras/Commands.java @@ -130,7 +130,7 @@ class CommandJumpscare implements CommandExecutor { private void createJumpscare(Player player) { player.spawnParticle(Particle.MOB_APPEARANCE, player.getLocation(), 4); for (int i = 0; i < 10; ++i) { - player.playSound(player.getLocation(), Sound.ENTITY_ENDERMAN_SCREAM, 1, 0); + player.playSound(player.getLocation(), Sound.ENTITY_ENDERMEN_SCREAM, 1, 0); } } diff --git a/src/main/java/pw/kaboom/extras/Events.java b/src/main/java/pw/kaboom/extras/Events.java index b628db6..27e04a8 100644 --- a/src/main/java/pw/kaboom/extras/Events.java +++ b/src/main/java/pw/kaboom/extras/Events.java @@ -245,7 +245,9 @@ class Events implements Listener { } } - if (block.getType() == Material.FARMLAND || + if (block.getType() == Material.SOIL || + block.getType() == Material.STATIONARY_LAVA || + block.getType() == Material.STATIONARY_WATER || block.getType() == Material.LAVA || block.getType() == Material.WATER) { event.setCancelled(true); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 7e9ba60..04f10d5 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -2,7 +2,6 @@ name: Extras main: pw.kaboom.extras.Main description: Plugin that adds extra functionality to the Kaboom.pw server. depend: [WorldEdit] -api-version: 1.13 version: master commands: