Update to CB #2126 B #1425

Min CB version changed to 2122
This commit is contained in:
KHobbits 2012-03-29 02:00:51 +01:00
parent 10f82a6723
commit d7139cb16c
4 changed files with 4 additions and 3 deletions

View File

@ -66,7 +66,7 @@ import org.yaml.snakeyaml.error.YAMLException;
public class Essentials extends JavaPlugin implements IEssentials
{
public static final int BUKKIT_VERSION = 2105;
public static final int BUKKIT_VERSION = 2122;
private static final Logger LOGGER = Logger.getLogger("Minecraft");
private transient ISettings settings;
private final transient TNTExplodeListener tntListener = new TNTExplodeListener(this);

View File

@ -35,8 +35,9 @@ public class Commandbreak extends EssentialsCommand
{
throw new Exception(_("noBreakBedrock"));
}
final List<ItemStack> list = (List<ItemStack>)block.getDrops();
final BlockBreakEvent event = new BlockBreakEvent(block, user.getBase(), list);
//final List<ItemStack> list = (List<ItemStack>)block.getDrops();
//final BlockBreakEvent event = new BlockBreakEvent(block, user.getBase(), list);
final BlockBreakEvent event = new BlockBreakEvent(block, user.getBase());
server.getPluginManager().callEvent(event);
if (event.isCancelled())
{

Binary file not shown.

Binary file not shown.