Class CreativeEraserSystems.OnPlayerRemovedFromWorld

java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.HolderSystem<EntityStore>
com.hypixel.hytale.server.core.modules.entity.player.CreativeEraserSystems.OnPlayerRemovedFromWorld
All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>
Enclosing class:
CreativeEraserSystems

public static class CreativeEraserSystems.OnPlayerRemovedFromWorld extends HolderSystem<EntityStore>
Strips the eraser override when the player is removed from the world. The Interactions component is persisted with the player, and the override references an interaction from the departing world's gameplay config, so leaving it in place would carry it into worlds whose config defines a different eraser interaction, or none to resolve the override against at all.