Add red sand to sand physics.

This option is still at the mercy of bukkit api and might still not work ¯\_(ツ)_/¯
This commit is contained in:
wizjany 2022-01-16 10:58:47 -05:00
parent 875a6fc827
commit 4abf971cf6
No known key found for this signature in database
GPG Key ID: 1DB5861C03B76B5E
2 changed files with 2 additions and 2 deletions

View File

@ -365,7 +365,7 @@ public void onBlockPhysics(BlockPhysicsEvent event) {
return;
}
if (id == Material.SAND && wcfg.noPhysicsSand) {
if ((id == Material.SAND || id == Material.RED_SAND) && wcfg.noPhysicsSand) {
event.setCancelled(true);
return;
}

View File

@ -788,7 +788,7 @@ public void onEntityChangeBlock(EntityChangeBlockEvent event) {
return;
}
if (id == Material.SAND && wcfg.noPhysicsSand) {
if ((id == Material.SAND || id == Material.RED_SAND) && wcfg.noPhysicsSand) {
event.setCancelled(true);
return;
}