mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-03 01:19:42 +01:00
Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand) not updating.
Fixes WORLDGUARD-3367. This change MAY have breaking unintended consequences, but the physics configs seem to still be working.
This commit is contained in:
parent
af157b88bd
commit
a1a6ee7107
@ -380,7 +380,7 @@ public void onBlockPhysics(BlockPhysicsEvent event) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int id = event.getChangedTypeId();
|
int id = event.getBlock().getTypeId();
|
||||||
|
|
||||||
if (id == 13 && wcfg.noPhysicsGravel) {
|
if (id == 13 && wcfg.noPhysicsGravel) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user