mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-06-30 11:01:40 +00:00
Converted emulated player class calls to use base class.
This commit is contained in:
parent
e007331581
commit
36e580474f
61 changed files with 214 additions and 214 deletions
|
@ -27,7 +27,7 @@ public class Commandpotion extends EssentialsCommand
|
|||
@Override
|
||||
protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
|
||||
{
|
||||
final ItemStack stack = user.getItemInHand();
|
||||
final ItemStack stack = user.getBase().getItemInHand();
|
||||
|
||||
if (args.length == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue