SteamWar/BauSystem
Archiviert
13
0

Test autoloader fix

Dieser Commit ist enthalten in:
Lixfel 2020-07-25 10:55:12 +02:00
Ursprung 4c581d523c
Commit 8f4ec3b3fe

Datei anzeigen

@ -3,9 +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;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
@ -33,11 +31,6 @@ class AutoLoader_15 {
powerable.setPowered(active);
block.setBlockData(powerable);
block.getState().update(true);
if(data instanceof Directional){
block.getRelative(BlockFace.DOWN).getState().update(true);
}
return true;
}