Add latest revisions after getting it functional
This commit is contained in:
parent
9653e273e4
commit
ffcecb8e8e
1443 changed files with 258988 additions and 6046 deletions
20
src/main/java/com/zontreck/events/HomeCreatedEvent.java
Normal file
20
src/main/java/com/zontreck/events/HomeCreatedEvent.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
package com.zontreck.events;
|
||||
|
||||
|
||||
import com.zontreck.homes.Home;
|
||||
import net.minecraftforge.eventbus.api.Cancelable;
|
||||
import net.minecraftforge.eventbus.api.Event;
|
||||
|
||||
/**
|
||||
* This event may be cancelled if the home is in a invalid location, like in the middle of a claim they have no rights to
|
||||
*/
|
||||
@Cancelable
|
||||
public class HomeCreatedEvent extends Event
|
||||
{
|
||||
public Home home;
|
||||
public HomeCreatedEvent(Home home)
|
||||
{
|
||||
this.home=home;
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue