Fixed signtext rollback
This commit is contained in:
1 parent
e75c4295de
commit
409e4edefa
1 file changed
+1
-1
@@ -156,7 +156,7 @@ public class WorldEditor implements Runnable
|
|||||||
final int curtype = block.getTypeId();
|
final int curtype = block.getTypeId();
|
||||||
if (signtext != null && (curtype == 63 || curtype == 68)) {
|
if (signtext != null && (curtype == 63 || curtype == 68)) {
|
||||||
final Sign sign = (Sign)block.getState();
|
final Sign sign = (Sign)block.getState();
|
||||||
final String[] lines = signtext.split("\0");
|
final String[] lines = signtext.split("\0", 4);
|
||||||
if (lines.length < 4)
|
if (lines.length < 4)
|
||||||
return PerformResult.NO_ACTION;
|
return PerformResult.NO_ACTION;
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
|
|||||||
Reference in new issue
Block a user