summaryrefslogtreecommitdiffstats
path: root/EssentialsSigns/src/com/earth2me/essentials/signs/SignDisposal.java
blob: 056c79e67e0cd685ffbf4fbf63554c2d2830db9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.earth2me.essentials.signs;

import com.earth2me.essentials.api.IEssentials;
import com.earth2me.essentials.api.IUser;


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)
	{
		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));
		return true;
	}
}