Fix WrappedBlockData deep clone

Fixes #661
Fixes #662
This commit is contained in:
Dan Mulloy 2019-10-29 17:01:15 -04:00
parent a76ceb94cc
commit 59c8c8c9db
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ public abstract class WrappedBlockData extends AbstractWrapper implements Clonab
@Override
public WrappedBlockData deepClone() {
return NewBlockData.createNewData(getType(), getData());
return new NewBlockData(handle);
}
private static WrappedBlockData createNewData(Material material) {