Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
3183d71478
Commit
71f1a1244e
@ -29,9 +29,13 @@ public class PlaceItemWrapper15 implements PlaceItemWrapper {
|
|||||||
if (material.isLegacy()) continue;
|
if (material.isLegacy()) continue;
|
||||||
|
|
||||||
String nonWall = material.name().replace("_WALL_", "").replace("WALL_", "").replace("_WALL", "");
|
String nonWall = material.name().replace("_WALL_", "").replace("WALL_", "").replace("_WALL", "");
|
||||||
Material nonWallMaterial = Material.valueOf(nonWall);
|
try {
|
||||||
if (nonWallMaterial != material) {
|
Material nonWallMaterial = Material.valueOf(nonWall);
|
||||||
BLOCK_MATERIAL_TO_WALL_BLOCK_MATERIAL.put(nonWallMaterial, material);
|
if (nonWallMaterial != material) {
|
||||||
|
BLOCK_MATERIAL_TO_WALL_BLOCK_MATERIAL.put(nonWallMaterial, material);
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
// Ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ITEM_MATERIAL_TO_BLOCK_MATERIAL.put(Material.REDSTONE, Material.REDSTONE_WIRE);
|
ITEM_MATERIAL_TO_BLOCK_MATERIAL.put(Material.REDSTONE, Material.REDSTONE_WIRE);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren