Unknown %!s(int64=6) %!d(string=hai) anos
pai
achega
64e7153424
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/me/shedaniel/rei/client/ClientHelper.java

+ 1 - 1
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;