Merge branch 'master' into spigot

This commit is contained in:
sekwah41 2018-02-02 11:06:37 +00:00
commit 7c560bbf87
2 changed files with 2 additions and 2 deletions

View File

@ -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. 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 @ECHO OFF
:A :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 REM Could add a 32 bit test part but noone uses 32 bit anymore
GOTO A GOTO A
PAUSE. PAUSE.

View File

@ -64,7 +64,7 @@ public class PortalManager {
* Load the default data into the portals. * Load the default data into the portals.
*/ */
public void loadPortals() { public void loadPortals() {
Type type = new TypeToken<Map<String, AdvancedPortal>>() { Type type = new TypeToken<HashMap<String, AdvancedPortal>>() {
}.getType(); }.getType();
this.portalHashMap = this.portalsCore.getDataStorage().loadJson(type, "portals.json"); this.portalHashMap = this.portalsCore.getDataStorage().loadJson(type, "portals.json");
if (this.portalHashMap == null) { if (this.portalHashMap == null) {