Fix instances where Signs have null lines. Addresses BUKKIT-684

This commit is contained in:
V10lator authored and feildmaster committed 2012-08-21 20:17:29 -05:00
1 parent 450edc3004
commit e3ae188ed2
2 files changed
+10 -1

No files matched your search

@@ -1302,6 +1302,9 @@ public class NetServerHandler extends NetHandler {
if (!event.isCancelled()) {
for (int l = 0; l < 4; ++l) {
tileentitysign1.lines[l] = event.getLine(l);
if(tileentitysign1.lines[l] == null) {
tileentitysign1.lines[l] = "";
}
}
tileentitysign1.isEditable = false;
}