Package me.taylorkelly.bigbrother.datablock

Examples of me.taylorkelly.bigbrother.datablock.BrokenBlock.send()


            BBPlayerInfo pi = BBUsersTable.getInstance().getUserByName(player.getName());
            plugin.closeChestIfOpen(pi);
            if (BBSettings.blockBreak && pi.getWatched()) {
                Block block = event.getBlock();
                BrokenBlock dataBlock = new BrokenBlock(player.getName(), block, block.getWorld().getName());
                dataBlock.send();
            }
        }
    }

    @Override
View Full Code Here


                        x = event.getClickedBlock().getX();
                        y = event.getClickedBlock().getY();
                        z = event.getClickedBlock().getZ();
                        type = Material.LAVA.getId();
                        dataBlock2 = new BrokenBlock(BBUsersTable.getInstance().getUserByName(event.getPlayer().getName()), world.getName(), x, y, z, type, (byte) 0);
                        dataBlock2.send();
                        break;
                    case STATIONARY_WATER:
                    case WATER:
                        x = event.getClickedBlock().getX();
                        y = event.getClickedBlock().getY();
View Full Code Here

                        x = event.getClickedBlock().getX();
                        y = event.getClickedBlock().getY();
                        z = event.getClickedBlock().getZ();
                        type = Material.WATER.getId();
                        dataBlock2 = new BrokenBlock(BBUsersTable.getInstance().getUserByName(event.getPlayer().getName()), world.getName(), x, y, z, type, (byte) 0);
                        dataBlock2.send();
                    }
                    break;
                default:
                   
                    switch (event.getClickedBlock().getType()) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.