3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

Fixed setTypeIdAndData sending client updates when not using physics

Dieser Commit ist enthalten in:
Raphfrk 2011-03-12 21:28:38 +00:00 committet von Dinnerbone
Ursprung 7242f21a32
Commit 4a2bc3299a

Datei anzeigen

@ -139,7 +139,11 @@ public class CraftBlock implements Block {
if (applyPhysics) {
return chunk.getHandle().d.b(x, y, z, type, data);
} else {
return chunk.getHandle().d.setTypeIdAndData(x, y, z, type, data);
boolean success = chunk.getHandle().d.setTypeIdAndData(x, y, z, type, data);
if(success) {
chunk.getHandle().d.g(x, y, z);
}
return success;
}
}