mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 18:47:20 +01:00
Merge branch 'main' into acf-test
This commit is contained in:
commit
d0f6434592
2
pom.xml
2
pom.xml
@ -327,7 +327,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bstats</groupId>
|
<groupId>org.bstats</groupId>
|
||||||
<artifactId>bstats-bukkit</artifactId>
|
<artifactId>bstats-bukkit</artifactId>
|
||||||
<version>1.7</version>
|
<version>1.8</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
|
@ -50,7 +50,7 @@ public class PlayerDestination implements MVDestination {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Location getLocation(Entity e) {
|
public Location getLocation(Entity e) {
|
||||||
Player p = plugin.getServer().getPlayer(this.player);
|
Player p = plugin.getServer().getPlayerExact(this.player);
|
||||||
Player plLoc = null;
|
Player plLoc = null;
|
||||||
if (e instanceof Player) {
|
if (e instanceof Player) {
|
||||||
plLoc = (Player) e;
|
plLoc = (Player) e;
|
||||||
|
@ -169,7 +169,7 @@ public class MVPlayerListener implements Listener {
|
|||||||
Logging.finer("We know the teleporter is the console! Magical!");
|
Logging.finer("We know the teleporter is the console! Magical!");
|
||||||
teleporter = this.plugin.getServer().getConsoleSender();
|
teleporter = this.plugin.getServer().getConsoleSender();
|
||||||
} else {
|
} else {
|
||||||
teleporter = this.plugin.getServer().getPlayer(teleporterName);
|
teleporter = this.plugin.getServer().getPlayerExact(teleporterName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Logging.finer("Inferred sender '" + teleporter + "' from name '"
|
Logging.finer("Inferred sender '" + teleporter + "' from name '"
|
||||||
|
Loading…
Reference in New Issue
Block a user