From 4c581d523cb6774a69bdb942b94ded9f71854a24 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 25 Jul 2020 10:52:59 +0200 Subject: [PATCH] Test autoloader fix --- .../src/de/steamwar/bausystem/world/AutoLoader_15.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java b/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java index e847a6e..c6069c5 100644 --- a/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java +++ b/BauSystem_15/src/de/steamwar/bausystem/world/AutoLoader_15.java @@ -3,6 +3,7 @@ package de.steamwar.bausystem.world; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; +import org.bukkit.block.BlockFace; import org.bukkit.block.data.BlockData; import org.bukkit.block.data.Directional; import org.bukkit.block.data.Powerable; @@ -34,9 +35,7 @@ class AutoLoader_15 { block.getState().update(true); if(data instanceof Directional){ - Directional directional = (Directional) data; - System.out.println(directional.getFacing().toString()); - block.getRelative(directional.getFacing()).getState().update(true); + block.getRelative(BlockFace.DOWN).getState().update(true); } return true;