1.7.10 Files

Files added
This commit is contained in:
KAMKEEL committed 2018-09-13 12:03:28 -04:00
1 parent 393ea9b463
commit a31efb2dc3
1768 files changed
+84831

No files matched your search

@@ -0,0 +1,27 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package foxz.commandhelper.permissions;
import foxz.commandhelper.AbstractCommandHelper;
import net.minecraft.entity.player.EntityPlayer;
/**
*
* @author foxz
*/
public class PlayerOnly extends AbstractPermission {
@Override
public String errorMsg() {
return "Player Only";
}
@Override
public boolean delegate(AbstractCommandHelper parent, String[] args) {
return parent.pcParam instanceof EntityPlayer;
}
}