mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fix instances where Signs have null lines. Addresses BUKKIT-684
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user