mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-09-06 04:48:08 +02:00
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 {
|
try {
|
||||||
dSign.initialize();
|
dSign.initialize();
|
||||||
|
if (dSign.isSetToAir()) {
|
||||||
|
dSign.setToAir();
|
||||||
|
}
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
dSign.markAsErroneous("An error occurred while initializing a sign of the type " + dSign.getName()
|
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:");
|
+ ". This is not a user error. Please report the following stacktrace to the developer of the plugin:");
|
||||||
|
Loading…
Reference in New Issue
Block a user