mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-09 09:54:14 +01:00
Return a miscDisguise not playerdisguise when calling addplayer on miscdisguise
This commit is contained in:
parent
d7834e467f
commit
94f5eccba1
@ -105,8 +105,8 @@ public class MiscDisguise extends TargetedDisguise {
|
|||||||
this(DisguiseType.getType(disguiseType), id, data);
|
this(DisguiseType.getType(disguiseType), id, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
public PlayerDisguise addPlayer(Player player) {
|
public MiscDisguise addPlayer(Player player) {
|
||||||
return (PlayerDisguise) super.addPlayer(player);
|
return (MiscDisguise) super.addPlayer(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public MiscDisguise addPlayer(String playername) {
|
public MiscDisguise addPlayer(String playername) {
|
||||||
|
Loading…
Reference in New Issue
Block a user