Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-17 01:23:43 +02: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;
|
boolean willSaveConnection = false;
|
||||||
if (ConnectionData.needStoreBlocks() && Via.getConfig().isServersideBlockConnections()) {
|
if (Via.getConfig().isServersideBlockConnections() && ConnectionData.needStoreBlocks()) {
|
||||||
for (int p = 0; p < section.getPaletteSize(); p++) {
|
for (int p = 0; p < section.getPaletteSize(); p++) {
|
||||||
int newId = section.getPaletteEntry(p);
|
int newId = section.getPaletteEntry(p);
|
||||||
if (ConnectionData.isWelcome(newId)) {
|
if (ConnectionData.isWelcome(newId)) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren