SteamWar/BauSystem
Archiviert
13
0

Fixed Autoloader 15 Redstone under Block

Dieser Commit ist enthalten in:
Chaoscaot 2020-08-29 09:12:09 +02:00
Ursprung d4535ff36d
Commit 6afaeebfae

Datei anzeigen

@ -36,7 +36,6 @@ class AutoLoader_15 {
static void updateBlock(Location location) {
Location[] locations = new Location[] {
location.clone(),
location.clone().add(1, 0,0),
location.clone().add(-1, 0,0),
location.clone().add(0, 1,0),
@ -45,7 +44,7 @@ class AutoLoader_15 {
location.clone().add(0, 0,-1)
};
for (Location value : locations) {
if (value.getBlock().getType().toString().contains("SIGN")) continue;
if (!value.getBlock().getType().isSolid()) continue;
BlockData data = value.getBlock().getBlockData();
value.getBlock().setType(Material.BARRIER, true);
value.getBlock().setBlockData(data, true);