2011-06-08 01:18:33 +00:00
|
|
|
package com.earth2me.essentials.signs;
|
|
|
|
|
|
|
|
import com.earth2me.essentials.IEssentials;
|
|
|
|
import com.earth2me.essentials.User;
|
|
|
|
|
|
|
|
|
|
|
|
public class SignDisposal extends EssentialsSign
|
|
|
|
{
|
|
|
|
public SignDisposal()
|
|
|
|
{
|
|
|
|
super("Disposal");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected boolean onSignInteract(final ISign sign, final User player, final String username, final IEssentials ess)
|
|
|
|
{
|
2012-03-01 22:09:48 +00:00
|
|
|
player.sendMessage("Bukkit broke this sign :(");
|
|
|
|
//TODO: wait for a fix in bukkit
|
|
|
|
//Problem: Items can be duplicated
|
|
|
|
//player.getBase().openInventory(ess.getServer().createInventory(player, 36));
|
2011-06-08 01:18:33 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|