mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 21:40:08 +00:00
add smart waterlog
This commit is contained in:
1 parent
5458564cfa
commit
5028582198
9 files changed
+94
-3
No files matched your search
+5
@@ -29,6 +29,11 @@ public class BukkitBlockTypeAndItem implements BlockType, Item {
|
||||
return delegate.isSolid();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isWater() {
|
||||
return delegate == Material.WATER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack newItemStack(int amount) {
|
||||
return BukkitAdapter.adapt(new org.bukkit.inventory.ItemStack(delegate, amount));
|
||||
|
||||
Reference in new issue
Block a user