Create a default option for pushing
This commit is contained in:
		| @@ -146,7 +146,8 @@ public class DisguiseConfig { | |||||||
|         setDisabledInvisibility(config.getBoolean("DisableInvisibility")); |         setDisabledInvisibility(config.getBoolean("DisableInvisibility")); | ||||||
|  |  | ||||||
|         try { |         try { | ||||||
|             disablePushing = DisguisePushing.valueOf(config.getString("DisablePushing").toUpperCase()); |             disablePushing = DisguisePushing | ||||||
|  |                     .valueOf(config.getString("DisablePushing", DisguisePushing.MODIFY.name()).toUpperCase()); | ||||||
|         } |         } | ||||||
|         catch (Exception ex) { |         catch (Exception ex) { | ||||||
|             System.out.println("[LibsDisguises] Cannot parse '" + config.getString("SelfDisguisesTeams") |             System.out.println("[LibsDisguises] Cannot parse '" + config.getString("SelfDisguisesTeams") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user