bedspawn no bueno
This commit is contained in:
parent
a06e712bf4
commit
8d8371290e
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -49,7 +49,7 @@ public class PlayerListener implements Listener {
|
||||||
public void onPlayerRespawn(PlayerRespawnEvent e) {
|
public void onPlayerRespawn(PlayerRespawnEvent e) {
|
||||||
final Player p = e.getPlayer();
|
final Player p = e.getPlayer();
|
||||||
p.setGameMode(GameMode.SPECTATOR);
|
p.setGameMode(GameMode.SPECTATOR);
|
||||||
this.spawn = p.getBedSpawnLocation();
|
this.spawn = p.getLocation();
|
||||||
new BukkitRunnable() {
|
new BukkitRunnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue