diff options
author | Andrew Ardill <andrew.ardill@gmail.com> | 2011-12-13 01:40:35 +1100 |
---|---|---|
committer | Andrew Ardill <andrew.ardill@gmail.com> | 2011-12-13 01:46:55 +1100 |
commit | 82965eb10f66b84273f61e29b7548c215ebd4fc6 (patch) | |
tree | 098d994a875c754275f60e17fe3f22c47378ff78 /src/main/java/net/minecraft/server/TileEntityPiston.java | |
parent | d34e2894347f780ed6f27f745a88688000dc3615 (diff) | |
download | craftbukkit-82965eb10f66b84273f61e29b7548c215ebd4fc6.tar craftbukkit-82965eb10f66b84273f61e29b7548c215ebd4fc6.tar.gz craftbukkit-82965eb10f66b84273f61e29b7548c215ebd4fc6.tar.lz craftbukkit-82965eb10f66b84273f61e29b7548c215ebd4fc6.tar.xz craftbukkit-82965eb10f66b84273f61e29b7548c215ebd4fc6.zip |
Stop converting ItemStack to nms ItemStack by hand
This should fix many issues with enchantments being lost, as the method used takes care of enchantments.
Additionally, use the new nms ItemStack constructor in places where appropriate.
Fixes (at least part of) BUKKIT-7. Need to identify any further places to fix.
Diffstat (limited to 'src/main/java/net/minecraft/server/TileEntityPiston.java')
0 files changed, 0 insertions, 0 deletions