Set script sign to air if initialized signs require it to be set to air
This commit is contained in:
parent
9167face12
commit
f7ee1f591c
|
@ -91,6 +91,9 @@ public class ScriptSign extends Passive {
|
|||
|
||||
try {
|
||||
dSign.initialize();
|
||||
if (dSign.isSetToAir()) {
|
||||
dSign.setToAir();
|
||||
}
|
||||
} catch (Exception exception) {
|
||||
dSign.markAsErroneous("An error occurred while initializing a sign of the type " + dSign.getName()
|
||||
+ ". This is not a user error. Please report the following stacktrace to the developer of the plugin:");
|
||||
|
|
Loading…
Reference in New Issue