Add more state data (isSolid())
This commit is contained in:
parent
34ec8b9eeb
commit
27d7e74cfb
13 changed files with 223 additions and 13 deletions
|
|
@ -133,6 +133,9 @@ public class BukkitVersionHelperSpigot113 extends BukkitVersionHelperCB {
|
|||
if (bd.getBlock() instanceof BlockLogAbstract) {
|
||||
bs.setLog();
|
||||
}
|
||||
if (bd.getMaterial().isSolid()) {
|
||||
bs.setSolid();
|
||||
}
|
||||
dataToState.put(bd, bs);
|
||||
lastBlockState.put(bname, (lastbs == null) ? bs : lastbs);
|
||||
Log.verboseinfo(i + ": blk=" + bname + ", idx=" + idx + ", state=" + sb + ", waterlogged=" + bs.isWaterlogged());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue