// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.server.core.universe.world.events;

import javax.annotation.Nonnull;
import com.hypixel.hytale.server.core.universe.world.World;
import com.hypixel.hytale.event.IEvent;

public abstract class WorldEvent implements IEvent<String>
{
    @Nonnull
    private final World world;
    
    public WorldEvent(@Nonnull final World world) {
        this.world = world;
    }
    
    @Nonnull
    public World getWorld() {
        return this.world;
    }
    
    @Nonnull
    @Override
    public String toString() {
        return "WorldEvent{world=" + String.valueOf(this.world);
    }
}
