mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	Fixes #1171
This commit is contained in:
		@@ -167,7 +167,13 @@ public class SpongePlayer extends PlotPlayer {
 | 
			
		||||
        this.player.offer(Keys.IS_FLYING, fly);
 | 
			
		||||
        this.player.offer(Keys.CAN_FLY, fly);
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public boolean getFlight() {
 | 
			
		||||
        Optional<Boolean> flying = player.get(Keys.CAN_FLY);
 | 
			
		||||
        return flying.isPresent() && flying.get();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void playMusic(Location location, int id) {
 | 
			
		||||
        switch (id) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user