mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 07:49:03 +00:00
@@ -642,15 +642,6 @@ public class P extends JavaPlugin {
|
||||
|
||||
// Utility
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public void setHand(Player player, ItemStack item) {
|
||||
if (P.use1_9) {
|
||||
player.getInventory().setItemInMainHand(item);
|
||||
} else {
|
||||
player.setItemInHand(item);
|
||||
}
|
||||
}
|
||||
|
||||
public int parseInt(String string) {
|
||||
return NumberUtils.toInt(string, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user