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.
|
||||
@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.
|
@ -64,7 +64,7 @@ public class PortalManager {
|
||||
* Load the default data into the portals.
|
||||
*/
|
||||
public void loadPortals() {
|
||||
Type type = new TypeToken<Map<String, AdvancedPortal>>() {
|
||||
Type type = new TypeToken<HashMap<String, AdvancedPortal>>() {
|
||||
}.getType();
|
||||
this.portalHashMap = this.portalsCore.getDataStorage().loadJson(type, "portals.json");
|
||||
if (this.portalHashMap == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user