diff --git a/DragAndDropStarter.bat b/DragAndDropStarter.bat index 959e3b1..ab45dc3 100644 --- a/DragAndDropStarter.bat +++ b/DragAndDropStarter.bat @@ -1,7 +1,7 @@ REM Use this file for testing cases for different versions, just drag the version you want to test the plugin in and it will start. @ECHO OFF :A -java -Xmx4096M -jar %1 +java -Xmx4096M -DIReallyKnowWhatIAmDoingISwear=true -jar %1 REM Could add a 32 bit test part but noone uses 32 bit anymore GOTO A PAUSE. \ No newline at end of file diff --git a/src/com/sekwah/advancedportals/core/api/managers/PortalManager.java b/src/com/sekwah/advancedportals/core/api/managers/PortalManager.java index f503f80..4034480 100644 --- a/src/com/sekwah/advancedportals/core/api/managers/PortalManager.java +++ b/src/com/sekwah/advancedportals/core/api/managers/PortalManager.java @@ -64,7 +64,7 @@ public class PortalManager { * Load the default data into the portals. */ public void loadPortals() { - Type type = new TypeToken>() { + Type type = new TypeToken>() { }.getType(); this.portalHashMap = this.portalsCore.getDataStorage().loadJson(type, "portals.json"); if (this.portalHashMap == null) {