mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-21 15:57:19 +00:00
Fix raw loading issue
This commit is contained in:
1 parent
682b155deb
commit
ad58a1efeb
1 file changed
+4
-2
@@ -27,8 +27,10 @@ public class LoadRawCommand extends LoadCommand implements DebugCommand {
|
||||
|
||||
private static void setTerraSign(Sign sign, String data) {
|
||||
sign.setLine(0, "[TERRA]");
|
||||
sign.setLine(2, data.substring(0, 16));
|
||||
sign.setLine(3, data.substring(16));
|
||||
if(data.length() > 16) {
|
||||
sign.setLine(2, data.substring(0, 16));
|
||||
sign.setLine(3, data.substring(16));
|
||||
} else sign.setLine(2, data);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user