Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Fix NPE when block connection is disabled
Dieser Commit ist enthalten in:
Ursprung
d962ef09ff
Commit
96366aae42
@ -308,7 +308,7 @@ public class WorldPackets {
|
||||
}
|
||||
|
||||
boolean willSaveConnection = false;
|
||||
if (ConnectionData.needStoreBlocks() && Via.getConfig().isServersideBlockConnections()) {
|
||||
if (Via.getConfig().isServersideBlockConnections() && ConnectionData.needStoreBlocks()) {
|
||||
for (int p = 0; p < section.getPaletteSize(); p++) {
|
||||
int newId = section.getPaletteEntry(p);
|
||||
if (ConnectionData.isWelcome(newId)) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren