File tree Expand file tree Collapse file tree
server/src/main/java/dev/plex/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import io .papermc .paper .registry .RegistryAccess ;
88import io .papermc .paper .registry .RegistryKey ;
99import net .kyori .adventure .key .Key ;
10- import org .apache .commons .lang3 .math .NumberUtils ;
1110import org .bukkit .GameRule ;
12- import org .bukkit .GameRules ;
1311import org .bukkit .Registry ;
1412import org .bukkit .World ;
1513
1614public 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 {
You can’t perform that action at this time.
0 commit comments