mirror of
https://github.com/TeamMidnightDust/PictureSign.git
synced 2025-12-13 04:45:10 +01:00
Fix #24
This commit is contained in:
@@ -27,6 +27,7 @@ public enum PictureSignType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static PictureSignType getType(SignBlockEntity signBlockEntity, boolean front) {
|
public static PictureSignType getType(SignBlockEntity signBlockEntity, boolean front) {
|
||||||
|
if (signBlockEntity == null) return PictureSignType.NONE;
|
||||||
return getType(signBlockEntity.getText(front).getMessage(0,false).getString());
|
return getType(signBlockEntity.getText(front).getMessage(0,false).getString());
|
||||||
}
|
}
|
||||||
public static PictureSignType getType(String lineOne) {
|
public static PictureSignType getType(String lineOne) {
|
||||||
|
|||||||
Reference in New Issue
Block a user