mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Fixed setTypeIdAndData sending client updates when not using physics
By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
parent
94404a16fe
commit
9d4b497e25
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue