From b561a812364f195acbbcc8ed172d36557a5cd4e2 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sat, 18 Mar 2023 20:13:52 +0200 Subject: Update Checkstyle and fix code format --- build.gradle | 2 +- src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1815462..7e1585d 100644 --- a/build.gradle +++ b/build.gradle @@ -109,7 +109,7 @@ jar { checkstyle { configFile = file('checkstyle.xml') - toolVersion = '8.36.2' + toolVersion = '10.9.2' } evaluationDependsOn(':javadoc') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java b/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java index 533aa81..6e6a3cd 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java @@ -20,7 +20,6 @@ import net.minecraft.screen.ScreenHandler; import net.minecraft.screen.ScreenHandlerContext; import net.minecraft.screen.ScreenHandlerType; import net.minecraft.screen.slot.Slot; -import net.minecraft.screen.slot.SlotActionType; import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.server.world.ServerWorld; import net.minecraft.world.World; -- cgit