diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-04-29 23:07:42 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-04-29 23:07:42 +0800 |
| commit | 0bcfca2b8366092141c8e86f9e9f37dea670f334 (patch) | |
| tree | 76495edb4cb24a7c1f3268074203b2f74db174d7 | |
| parent | 3aea53dfb2a73dd78c4ca6ce674ddc65e444bb34 (diff) | |
| download | RoughlyEnoughItems-0bcfca2b8366092141c8e86f9e9f37dea670f334.tar.gz RoughlyEnoughItems-0bcfca2b8366092141c8e86f9e9f37dea670f334.tar.bz2 RoughlyEnoughItems-0bcfca2b8366092141c8e86f9e9f37dea670f334.zip | |
fix
| -rw-r--r-- | src/main/java/me/shedaniel/rei/client/ClientHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/client/ClientHelper.java b/src/main/java/me/shedaniel/rei/client/ClientHelper.java index b30fc2326..0a3484786 100644 --- a/src/main/java/me/shedaniel/rei/client/ClientHelper.java +++ b/src/main/java/me/shedaniel/rei/client/ClientHelper.java @@ -94,7 +94,7 @@ public class ClientHelper implements ClientModInitializer { } public static boolean tryCheatingStack(ItemStack cheatedStack) { - if (RoughlyEnoughItemsCore.hasPermissionToUsePackets()) { + if (RoughlyEnoughItemsCore.canUsePackets()) { try { ClientSidePacketRegistry.INSTANCE.sendToServer(RoughlyEnoughItemsNetwork.CREATE_ITEMS_PACKET, new PacketByteBuf(Unpooled.buffer()).writeItemStack(cheatedStack.copy())); return true; |
