mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-30 21:23:00 +00:00 
			
		
		
		
	 f6160bdc57
			
		
	
	f6160bdc57
	
	
	
		
			
			When we construct a new ServerPlayerEntity (and thus TurtlePlayer), we get the current (global) advancement state and call .setPlayer() on it. As grantCriterion blocks FakePlayers from getting advancements, this means a player will no longer receive any advancements, as the "wrong" player object is being consulted. As a temporary work around, we attempt to restore the previous player to the advancement store. I'll try to upstream something into Forge to resolve this properly. Fixes #564