Add soft dependency for Multiverse compatibility
If ES gets enabled before Multiverse does, ESSystems in worlds other than the default will misbehave, because Multiverse hasn't loaded their worlds yet. This means getWorld() returns null for those worlds and the Location baked into the ESSystem is wrong. Adding a soft dependency on MV-Core ensures that ES gets enabled after MV, and thus, after all the game worlds are loaded.
This commit is contained in:
parent
77a426a85b
commit
fdad6e099f
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>net.seanomik</groupId>
|
<groupId>net.seanomik</groupId>
|
||||||
<artifactId>energeticstorage</artifactId>
|
<artifactId>energeticstorage</artifactId>
|
||||||
<version>0.2-SNAPSHOT</version>
|
<version>0.2.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>EnergeticStorage</name>
|
<name>EnergeticStorage</name>
|
||||||
|
|
|
@ -3,6 +3,7 @@ version: ${project.version}
|
||||||
main: net.seanomik.energeticstorage.EnergeticStorage
|
main: net.seanomik.energeticstorage.EnergeticStorage
|
||||||
api-version: 1.15
|
api-version: 1.15
|
||||||
authors: [SeanOMik]
|
authors: [SeanOMik]
|
||||||
|
softdepend: [Multiverse-Core]
|
||||||
commands:
|
commands:
|
||||||
esgive:
|
esgive:
|
||||||
aliases: [egive]
|
aliases: [egive]
|
||||||
|
@ -42,4 +43,4 @@ permissions:
|
||||||
default: op
|
default: op
|
||||||
energeticstorage.system.destroy.untrusted:
|
energeticstorage.system.destroy.untrusted:
|
||||||
description: Permission for destroying an ES System that the player is not trusted in.
|
description: Permission for destroying an ES System that the player is not trusted in.
|
||||||
default: op
|
default: op
|
||||||
|
|
Loading…
Reference in New Issue