Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
a708a12b99
Commit
0fc36cea4e
@ -55,7 +55,8 @@ public class FlatteningWrapper14 implements FlatteningWrapper {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean removeWater(Block block) {
|
public boolean removeWater(Block block) {
|
||||||
if(block.getType() == Material.WATER){
|
Material type = block.getType();
|
||||||
|
if(type == Material.WATER || type == Material.LAVA){
|
||||||
block.setType(Material.AIR);
|
block.setType(Material.AIR);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ public class FlatteningWrapper8 implements FlatteningWrapper {
|
|||||||
@Override
|
@Override
|
||||||
public boolean isWater(Block block) {
|
public boolean isWater(Block block) {
|
||||||
Material type = block.getType();
|
Material type = block.getType();
|
||||||
return type == Material.WATER || type == Material.STATIONARY_WATER;
|
return type == Material.WATER || type == Material.STATIONARY_WATER || type == Material.LAVA || type == Material.STATIONARY_LAVA;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren