Added comments
This commit is contained in:
		
							parent
							
								
									5e22456f61
								
							
						
					
					
						commit
						c41ab95baf
					
				@ -82,6 +82,8 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
 | 
			
		||||
            playerBeaconLocation.put(uuid, lbtBlock);
 | 
			
		||||
        }
 | 
			
		||||
        else{
 | 
			
		||||
            // TODO: Check if beacon is active
 | 
			
		||||
 | 
			
		||||
            // Set player as ignored on target-LinkedBeaconTeleporter (so he wont trigger the teleport again)
 | 
			
		||||
            playerBeaconLocation.put(uuid, lbtBlockPartner);
 | 
			
		||||
 | 
			
		||||
@ -92,6 +94,7 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
 | 
			
		||||
                    Material.AIR,
 | 
			
		||||
                    Function.transparentMaterials
 | 
			
		||||
            );
 | 
			
		||||
            // TODO: Check if there is enough space for a player
 | 
			
		||||
 | 
			
		||||
            // Teleport
 | 
			
		||||
            e.player().teleport(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user