mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2025-08-17 09:05:47 +00:00
updated addons for 3.2.1.-4
This commit is contained in:
parent
9c27e30c10
commit
39cbe97e0e
@ -7,7 +7,7 @@
|
||||
<groupId>me.SuperRonanCraft</groupId>
|
||||
<artifactId>BetterRTPAddons</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.5</version>
|
||||
<version>1.6</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
@ -1,7 +1,7 @@
|
||||
package me.SuperRonanCraft.BetterRTPAddons.addons.extraEffects;
|
||||
|
||||
import me.SuperRonanCraft.BetterRTP.references.customEvents.RTP_TeleportEvent;
|
||||
import me.SuperRonanCraft.BetterRTP.references.worlds.WORLD_TYPE;
|
||||
import me.SuperRonanCraft.BetterRTP.references.rtpinfo.worlds.WORLD_TYPE;
|
||||
import me.SuperRonanCraft.BetterRTPAddons.Main;
|
||||
import me.SuperRonanCraft.BetterRTPAddons.util.Files;
|
||||
import org.bukkit.Bukkit;
|
||||
|
@ -17,10 +17,10 @@ public class PlayerInfo {
|
||||
|
||||
private final HashMap<Player, Inventory> invs = new HashMap<>();
|
||||
private final HashMap<Player, RTP_INV_SETTINGS> invType = new HashMap<>();
|
||||
private final HashMap<Player, World> invWorld = new HashMap<>();
|
||||
private final HashMap<Player, RTP_INV_SETTINGS> invNextInv = new HashMap<>();
|
||||
@Getter private final HashMap<Player, World> invWorld = new HashMap<>();
|
||||
@Getter private final HashMap<Player, RTP_INV_SETTINGS> invNextInv = new HashMap<>();
|
||||
private final HashMap<Player, CooldownData> cooldown = new HashMap<>();
|
||||
private final HashMap<Player, Boolean> rtping = new HashMap<>();
|
||||
@Getter private final HashMap<Player, Boolean> rtping = new HashMap<>();
|
||||
private final HashMap<Player, List<Location>> previousLocations = new HashMap<>();
|
||||
//private final HashMap<Player, RTP_TYPE> rtpType = new HashMap<>();
|
||||
|
||||
@ -32,17 +32,17 @@ public class PlayerInfo {
|
||||
invType.put(p, type);
|
||||
}
|
||||
|
||||
private void setInvWorld(Player p, World type) {
|
||||
public void setInvWorld(Player p, World type) {
|
||||
invWorld.put(p, type);
|
||||
}
|
||||
|
||||
private void setNextInv(Player p, RTP_INV_SETTINGS type) {
|
||||
public void setNextInv(Player p, RTP_INV_SETTINGS type) {
|
||||
invNextInv.put(p, type);
|
||||
}
|
||||
|
||||
//--Logic--
|
||||
|
||||
private Boolean playerExists(Player p) {
|
||||
public Boolean playerExists(Player p) {
|
||||
return invs.containsKey(p);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user