aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/api/events/LocationChangeEvent.java
blob: cb11337605eadfa7a0f31202bd81367f7bd28eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.thatgravyboat.skyblockhud.api.events;

import com.thatgravyboat.skyblockhud.location.Locations;
import net.minecraftforge.fml.common.eventhandler.Event;

public class LocationChangeEvent extends Event {

    public Locations oldLocation;
    public Locations newLocation;

    public LocationChangeEvent(Locations oldLocation, Locations newLocation){
        this.oldLocation = oldLocation;
        this.newLocation = newLocation;
    }
}