[Fixes] /is settings not saving for player islands as there is case mismatch.
[Fixes] Operators/Players were not able to fly with Island Fly Upgrade
This commit is contained in:
parent
383a21ef7a
commit
9fe0fde5b2
8
pom.xml
8
pom.xml
|
@ -198,24 +198,26 @@
|
|||
<version>7.2.18</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/com.mojang/authlib -->
|
||||
|
||||
<dependency>
|
||||
<groupId>com.mojang</groupId>
|
||||
<artifactId>authlib</artifactId>
|
||||
<version>3.16.29</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
|
||||
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-all</artifactId>
|
||||
<version>4.1.107.Final</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.6</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -112,7 +112,7 @@ public class IslandManager {
|
|||
* @deprecated use {@link #updateFlight(Player)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public void giveUpgrades(Player player, Island island) {
|
||||
public void giveUgrades(Player player, Island island) {
|
||||
Preconditions.checkArgument(player != null, "Cannot give upgrades to null player");
|
||||
Preconditions.checkArgument(island != null, "Cannot give upgrades to null island");
|
||||
|
||||
|
|
|
@ -1530,7 +1530,7 @@ public class IslandManager {
|
|||
public void updateFlight(Player player) {
|
||||
// The player can fly in other worlds if they are in creative or have another
|
||||
// plugin's fly permission.
|
||||
// Merged this with final if block as OPs were not able to fly.
|
||||
|
||||
|
||||
// Residence support
|
||||
if (Bukkit.getServer().getPluginManager().getPlugin("Residence") != null) {
|
||||
|
|
Loading…
Reference in New Issue