fix #2143
This commit is contained in:
parent
4ea4bb9eae
commit
50a36b3aa9
1 changed files with 18 additions and 14 deletions
|
@ -53,6 +53,7 @@ public final class HeuristicBlockDetection {
|
|||
|
||||
for (int meta = 0; meta < 16; meta++) {
|
||||
if (!SchematicRegistry.INSTANCE.isSupported(block, meta)) {
|
||||
try {
|
||||
if (block.hasTileEntity(meta)) {
|
||||
// All tiles are registered as creative only.
|
||||
// This is helpful for example for server admins.
|
||||
|
@ -71,6 +72,9 @@ public final class HeuristicBlockDetection {
|
|||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue