geforkt von Mirrors/Paper
Fixed setTypeIdAndData sending client updates when not using physics
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren