Fixed Autoloader 15 Redstone under Block
Dieser Commit ist enthalten in:
Ursprung
d4535ff36d
Commit
6afaeebfae
@ -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);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren