Unknown hace 6 años
padre
commit
64e7153424
Se han modificado 1 ficheros con 1 adiciones y 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;