mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-16 23:55:23 +01:00
Merge branch 'master' into spigot
This commit is contained in:
commit
7c560bbf87
@ -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.
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user