13
0
geforkt von Mirrors/Paper

Fixed setTypeIdAndData sending client updates when not using physics

By: Raphfrk <raphfrk@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-03-12 21:28:38 +00:00
Ursprung 94404a16fe
Commit 9d4b497e25

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;
}
}