Fixed: Spout skin does not reset on leave

This commit is contained in:
Grafe 2013-01-16 03:44:29 +01:00
parent b037078c87
commit 186719d879

View File

@ -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();
} }
} }
} }