Skip to content

Commit eb53d9f

Browse files
committed
oh hoohah!
1 parent 904daae commit eb53d9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+154
-52
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<maven.compiler.target>1.8</maven.compiler.target>
2121

2222
<!-- Spigot properties -->
23-
<spigot.version>1.18.1</spigot.version>
23+
<spigot.version>1.19.2</spigot.version>
2424
<spigot.javadocs>https://hub.spigotmc.org/javadocs/spigot/</spigot.javadocs>
2525

2626
<!-- Default settings for sonarcloud.io -->
@@ -230,7 +230,7 @@
230230
<dependency>
231231
<groupId>io.github.baked-libs</groupId>
232232
<artifactId>dough-api</artifactId>
233-
<version>1.1.1</version>
233+
<version>1.2.0</version>
234234
<scope>compile</scope>
235235
</dependency>
236236

@@ -244,7 +244,7 @@
244244
<dependency>
245245
<groupId>org.bstats</groupId>
246246
<artifactId>bstats-bukkit</artifactId>
247-
<version>2.2.1</version>
247+
<version>3.0.0</version>
248248
<scope>compile</scope>
249249
</dependency>
250250

src/main/java/io/github/thebusybiscuit/sensibletoolbox/SensibleToolboxPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import javax.annotation.Nonnull;
1010
import javax.annotation.ParametersAreNonnullByDefault;
1111

12-
import org.apache.commons.lang.Validate;
12+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
1313
import org.bstats.bukkit.Metrics;
1414
import org.bukkit.Server;
1515
import org.bukkit.command.Command;
@@ -250,7 +250,7 @@ public void onEnable() {
250250
RecipeUtil.setupRecipes();
251251
RecipeBook.buildRecipes();
252252

253-
protectionManager = new ProtectionManager(getServer());
253+
protectionManager = new ProtectionManager(instance);
254254
});
255255

256256
getServer().getScheduler().runTaskTimer(this, LocationManager.getManager()::tick, 1L, 1L);

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/MinecraftVersion.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import javax.annotation.Nonnull;
44

5-
import org.apache.commons.lang.Validate;
5+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
66
import org.bukkit.Server;
77

88
import io.github.thebusybiscuit.sensibletoolbox.SensibleToolboxPlugin;
@@ -51,6 +51,8 @@ public enum MinecraftVersion {
5151
*/
5252
MINECRAFT_1_18(18, "1.18.x"),
5353

54+
MINECRAFT_1_19(19, "1.19.x"),
55+
5456
/**
5557
* This constant represents an exceptional state in which we were unable
5658
* to identify the Minecraft Version we are using

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/filters/Filter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.thebusybiscuit.sensibletoolbox.api.filters;
22

3-
import org.apache.commons.lang.Validate;
3+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
44
import org.bukkit.inventory.ItemStack;
55

66
import java.util.ArrayList;

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/gui/gadgets/ChargeMeter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.thebusybiscuit.sensibletoolbox.api.gui.gadgets;
22

3-
import org.apache.commons.lang.Validate;
3+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
44
import org.bukkit.Color;
55
import org.bukkit.Material;
66
import org.bukkit.inventory.ItemStack;

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/gui/gadgets/DirectionGadget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.HashMap;
44
import java.util.Map;
55

6-
import org.apache.commons.lang.Validate;
6+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
77
import org.bukkit.ChatColor;
88
import org.bukkit.Material;
99
import org.bukkit.block.BlockFace;

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/gui/gadgets/EnergyFlowGadget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.thebusybiscuit.sensibletoolbox.api.gui.gadgets;
22

3-
import org.apache.commons.lang.Validate;
3+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
44
import org.bukkit.ChatColor;
55
import org.bukkit.Material;
66
import org.bukkit.block.BlockFace;

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/gui/gadgets/FilterTypeGadget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.thebusybiscuit.sensibletoolbox.api.gui.gadgets;
22

3-
import org.apache.commons.lang.Validate;
3+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
44
import org.bukkit.ChatColor;
55
import org.bukkit.Material;
66

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/gui/gadgets/LightMeter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.thebusybiscuit.sensibletoolbox.api.gui.gadgets;
22

3-
import org.apache.commons.lang.Validate;
3+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
44

55
import io.github.thebusybiscuit.sensibletoolbox.api.LightMeterHolder;
66
import io.github.thebusybiscuit.sensibletoolbox.api.gui.InventoryGUI;

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/gui/gadgets/NumericGadget.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package io.github.thebusybiscuit.sensibletoolbox.api.gui.gadgets;
22

3-
import org.apache.commons.lang.Validate;
4-
import org.apache.commons.lang.math.IntRange;
3+
import io.github.thebusybiscuit.sensibletoolbox.helpers.Validate;
4+
import io.github.thebusybiscuit.sensibletoolbox.helpers.IntRange;
55
import org.bukkit.ChatColor;
66
import org.bukkit.Material;
77
import org.bukkit.entity.Player;

0 commit comments

Comments
 (0)