mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Make Command.CheckOwn public
This commit is contained in:
parent
fc438ec901
commit
ffe4707394
@ -70,7 +70,7 @@ namespace MCGalaxy
|
||||
return false;
|
||||
}
|
||||
|
||||
protected string CheckOwn(Player p, string name, string type) {
|
||||
public string CheckOwn(Player p, string name, string type) {
|
||||
if (name.CaselessEq("-own")) {
|
||||
if (p.IsSuper) { SuperRequiresArgs(p, type); return null; }
|
||||
return p.name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user