Changed ViewDisguises to ViewSelfDisguises

This commit is contained in:
Andrew 2013-11-06 06:01:52 +13:00
parent e8d821619c
commit adcca1558b
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ DisguiseRadiusMax: 50
UndisguiseRadiusMax: 50 UndisguiseRadiusMax: 50
# Shall the players view their disguises? # Shall the players view their disguises?
# Best used when viewing yourself in 3rd person # Best used when viewing yourself in 3rd person
ViewDisguises: false ViewSelfDisguises: false
# Shall I disguise the sounds? # Shall I disguise the sounds?
# This turns your damage sound into a MOOOO # This turns your damage sound into a MOOOO
DisguiseSounds: true DisguiseSounds: true

View File

@ -83,7 +83,7 @@ public class LibsDisguises extends JavaPlugin {
PacketsManager.init(this); PacketsManager.init(this);
DisguiseAPI.setSoundsEnabled(getConfig().getBoolean("DisguiseSounds")); DisguiseAPI.setSoundsEnabled(getConfig().getBoolean("DisguiseSounds"));
DisguiseAPI.setVelocitySent(getConfig().getBoolean("SendVelocity")); DisguiseAPI.setVelocitySent(getConfig().getBoolean("SendVelocity"));
DisguiseAPI.setViewDisguises(getConfig().getBoolean("ViewDisguises")); DisguiseAPI.setViewDisguises(getConfig().getBoolean("ViewSelfDisguises"));
DisguiseAPI.setHearSelfDisguise(getConfig().getBoolean("HearSelfDisguise")); DisguiseAPI.setHearSelfDisguise(getConfig().getBoolean("HearSelfDisguise"));
DisguiseAPI.setHideArmorFromSelf(getConfig().getBoolean("RemoveArmor")); DisguiseAPI.setHideArmorFromSelf(getConfig().getBoolean("RemoveArmor"));
DisguiseAPI.setHideHeldItemFromSelf(getConfig().getBoolean("RemoveHeldItem")); DisguiseAPI.setHideHeldItemFromSelf(getConfig().getBoolean("RemoveHeldItem"));