I don't know why this would be null, but thats what the error says..
This commit is contained in:
		| @@ -40,7 +40,8 @@ public class PacketListenerViewSelfDisguise extends PacketAdapter { | ||||
|         try { | ||||
|             final Player observer = event.getPlayer(); | ||||
|  | ||||
|             if (observer.getName().contains("UNKNOWN[")) {// If the player is temporary | ||||
|             if (observer == null || observer.getName() == null || | ||||
|                     observer.getName().contains("UNKNOWN[")) {// If the player is temporary | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user