mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fixed: Spout skin does not reset on leave
This commit is contained in:
parent
b037078c87
commit
186719d879
@ -200,11 +200,12 @@ public class DPlayer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Spout texture
|
//Spout
|
||||||
if(p.isSpoutEnabled){
|
if(p.isSpoutEnabled){
|
||||||
SpoutPlayer sPlayer = Spout.getServer().getPlayer(player.getName());
|
SpoutPlayer sPlayer = Spout.getServer().getPlayer(player.getName());
|
||||||
if(sPlayer!=null){
|
if(sPlayer!=null){
|
||||||
sPlayer.resetTexturePack();
|
sPlayer.resetTexturePack();
|
||||||
|
sPlayer.resetSkin();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user