Skip to content

Commit 2441448

Browse files
committed
Update GameRuleUtil.java
1 parent 03dc254 commit 2441448

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

server/src/main/java/dev/plex/util/GameRuleUtil.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,21 @@
77
import io.papermc.paper.registry.RegistryAccess;
88
import io.papermc.paper.registry.RegistryKey;
99
import net.kyori.adventure.key.Key;
10-
import org.apache.commons.lang3.math.NumberUtils;
1110
import org.bukkit.GameRule;
12-
import org.bukkit.GameRules;
1311
import org.bukkit.Registry;
1412
import org.bukkit.World;
1513

1614
public class GameRuleUtil
1715
{
18-
public static <T> void commitGlobalGameRules(World world)
16+
public static void commitGlobalGameRules(World world)
1917
{
2018
for (String s : Plex.get().config.getStringList("global_gamerules"))
2119
{
2220
readGameRules(world, s);
2321
}
2422
}
2523

26-
public static <T> void commitSpecificGameRules(World world)
24+
public static void commitSpecificGameRules(World world)
2725
{
2826
for (String s : Plex.get().config.getStringList("worlds." + world.getName().toLowerCase(Locale.ROOT) + ".gameRules"))
2927
{

0 commit comments

Comments
 (0)