mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 20:53:54 -07:00
Fixed setTypeIdAndData sending client updates when not using physics
By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user