mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix MFD end sign; resolves #814
This commit is contained in:
parent
c84f3564d5
commit
a32fa2ab46
@ -642,6 +642,7 @@ public class DGroup implements PlayerGroup {
|
|||||||
game.setWorld(gameWorld);
|
game.setWorld(gameWorld);
|
||||||
|
|
||||||
for (DGamePlayer player : getDGamePlayers()) {
|
for (DGamePlayer player : getDGamePlayers()) {
|
||||||
|
player.setInstanceWorld(gameWorld);
|
||||||
player.setLastCheckpoint(gameWorld.getStartLocation(this));
|
player.setLastCheckpoint(gameWorld.getStartLocation(this));
|
||||||
if (player.getWolf() != null) {
|
if (player.getWolf() != null) {
|
||||||
player.getWolf().teleport(player.getLastCheckpoint());
|
player.getWolf().teleport(player.getLastCheckpoint());
|
||||||
|
@ -57,6 +57,10 @@ public abstract class DInstancePlayer extends DGlobalPlayer implements InstanceP
|
|||||||
return instanceWorld.getWorld();
|
return instanceWorld.getWorld();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setInstanceWorld(InstanceWorld instanceWorld) {
|
||||||
|
this.instanceWorld = instanceWorld;
|
||||||
|
}
|
||||||
|
|
||||||
// Players in dungeons never get announcer messages
|
// Players in dungeons never get announcer messages
|
||||||
@Override
|
@Override
|
||||||
public boolean isAnnouncerEnabled() {
|
public boolean isAnnouncerEnabled() {
|
||||||
|
Loading…
Reference in New Issue
Block a user