aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-04-29 23:07:42 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-04-29 23:07:42 +0800
commit0bcfca2b8366092141c8e86f9e9f37dea670f334 (patch)
tree76495edb4cb24a7c1f3268074203b2f74db174d7 /src
parent3aea53dfb2a73dd78c4ca6ce674ddc65e444bb34 (diff)
downloadRoughlyEnoughItems-0bcfca2b8366092141c8e86f9e9f37dea670f334.tar.gz
RoughlyEnoughItems-0bcfca2b8366092141c8e86f9e9f37dea670f334.tar.bz2
RoughlyEnoughItems-0bcfca2b8366092141c8e86f9e9f37dea670f334.zip
fix
Diffstat (limited to 'src')
-rw-r--r--src/main/java/me/shedaniel/rei/client/ClientHelper.java2
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;