Fix sponge getTile

This commit is contained in:
Jesse Boyd 2017-04-20 16:34:43 +10:00
parent e37e94d674
commit 39f1a75517
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -254,7 +254,7 @@ public class SpongeQueue_1_11 extends NMSMappedFaweQueue<World, net.minecraft.wo
try { try {
NBTTagCompound tag = new NBTTagCompound(); NBTTagCompound tag = new NBTTagCompound();
tile.writeToNBT(tag); // readTagIntoEntity tile.writeToNBT(tag); // readTagIntoEntity
CompoundTag result = (CompoundTag) methodToNative.invoke(null, tag); CompoundTag result = (CompoundTag) methodToNative.invoke(SpongeQueue_1_11.adapter, tag);
return result; return result;
} catch (Exception e) { } catch (Exception e) {
MainUtil.handleError(e); MainUtil.handleError(e);