mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-03 01:21:56 +02:00
Moved signs code to a new module
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.earth2me.essentials.signs;
|
||||
|
||||
import com.earth2me.essentials.api.IEssentials;
|
||||
import com.earth2me.essentials.api.IUser;
|
||||
import com.earth2me.essentials.craftbukkit.ShowInventory;
|
||||
|
||||
|
||||
public class SignDisposal extends EssentialsSign
|
||||
{
|
||||
public SignDisposal()
|
||||
{
|
||||
super("Disposal");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean onSignInteract(final ISign sign, final IUser player, final String username, final IEssentials ess)
|
||||
{
|
||||
ShowInventory.showEmptyInventory(player.getBase());
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user