From 19488fb802e008d6bab4972ccfeb609cefb33597 Mon Sep 17 00:00:00 2001 From: jojo Date: Sat, 5 Sep 2020 19:05:07 +0200 Subject: [PATCH] Fix PastePoint --- src/de/steamwar/misslewars/items/LandingPad.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/misslewars/items/LandingPad.java b/src/de/steamwar/misslewars/items/LandingPad.java index 27833e0..f221e72 100644 --- a/src/de/steamwar/misslewars/items/LandingPad.java +++ b/src/de/steamwar/misslewars/items/LandingPad.java @@ -50,7 +50,7 @@ public class LandingPad extends SpecialItem { public boolean handleUse(Player p) { p.addPotionEffect(new PotionEffect(PotionEffectType.SLOW_FALLING, 2, 1, false, false, false)); Location l = p.getLocation(); - BlockVector3 paste = BlockVector3.at(l.getX() - 1, l.getY() - 5, l.getZ()).subtract(offset); + BlockVector3 paste = BlockVector3.at(l.getX() + 1, l.getY() - 5, l.getZ()).subtract(offset); EditSession editSession = WorldEdit.getInstance().getEditSessionFactory().getEditSession(world, -1); Operations.completeBlindly(new ClipboardHolder(clipboard).createPaste(editSession).ignoreAirBlocks(true).to(paste).build()); -- 2.39.2