Skip to content

Commit

Permalink
Respond to an IntelliJ warning/suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonEggBedrockBreaking committed Jun 10, 2024
1 parent d6c4eef commit 51f6ad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public abstract class MixinVillager {
@Shadow
private long lastRestockGameTime;

@SuppressWarnings("ConstantConditions")
@SuppressWarnings("ConstantConditions resource")
@ModifyReturnValue(method = "allowedToRestock", at = @At("RETURN"))
private boolean vanillaDisable$allowedToRestock(boolean original) {
int villagerDailyRestocks = DataHandler.getCachedInt("entities", "minecraft:villager", "daily_restocks");
Expand Down

0 comments on commit 51f6ad1

Please sign in to comment.