Fixed setTypeIdAndData sending client updates when not using physics
This commit is contained in:
parent
7242f21a32
commit
4a2bc3299a
@ -139,7 +139,11 @@ public class CraftBlock implements Block {
|
|||||||
if (applyPhysics) {
|
if (applyPhysics) {
|
||||||
return chunk.getHandle().d.b(x, y, z, type, data);
|
return chunk.getHandle().d.b(x, y, z, type, data);
|
||||||
} else {
|
} 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user