Revert WECUI visuals on logout. Fixes #272
This commit is contained in:
parent
221399d93b
commit
2de749037d
|
@ -880,5 +880,8 @@ public class GDPlayerData implements PlayerData {
|
|||
this.commandInputTimestamp = null;
|
||||
this.recordChatTimestamp = null;
|
||||
this.tempVisualUniqueId = null;
|
||||
if (GriefDefenderPlugin.getInstance().getWorldEditProvider() != null) {
|
||||
GriefDefenderPlugin.getInstance().getWorldEditProvider().revertAllVisuals(this.playerID);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -885,5 +885,8 @@ public class GDPlayerData implements PlayerData {
|
|||
this.commandInputTimestamp = null;
|
||||
this.recordChatTimestamp = null;
|
||||
this.tempVisualUniqueId = null;
|
||||
if (GriefDefenderPlugin.getInstance().getWorldEditProvider() != null) {
|
||||
GriefDefenderPlugin.getInstance().getWorldEditProvider().revertAllVisuals(this.playerID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue