1
0
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:
snowleo
2011-12-14 16:04:15 +01:00
parent 503e837cfd
commit 0f1eb9b4f9
42 changed files with 1435 additions and 53 deletions

View File

@@ -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;
}
}