mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -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) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user