more compile fixes
This commit is contained in:
		
					parent
					
						
							
								180fe2a014
							
						
					
				
			
			
				commit
				
					
						957d248aff
					
				
			
		
					 24 changed files with 101 additions and 74 deletions
				
			
		|  | @ -71,27 +71,27 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 | |||
| +    // Paper start
 | ||||
| +    @Override
 | ||||
| +    public org.bukkit.Location getHome() {
 | ||||
| +        return io.papermc.paper.util.MCUtil.toLocation(getHandle().getLevel(), getHandle().getHomePos());
 | ||||
| +        return io.papermc.paper.util.MCUtil.toLocation(this.getHandle().level(), this.getHandle().getHomePos());
 | ||||
| +    }
 | ||||
| +
 | ||||
| +    @Override
 | ||||
| +    public void setHome(org.bukkit.Location location) {
 | ||||
| +        getHandle().setHomePos(io.papermc.paper.util.MCUtil.toBlockPosition(location));
 | ||||
| +        this.getHandle().setHomePos(io.papermc.paper.util.MCUtil.toBlockPosition(location));
 | ||||
| +    }
 | ||||
| +
 | ||||
| +    @Override
 | ||||
| +    public boolean isGoingHome() {
 | ||||
| +        return getHandle().isGoingHome();
 | ||||
| +        return this.getHandle().isGoingHome();
 | ||||
| +    }
 | ||||
| +
 | ||||
| +    @Override
 | ||||
| +    public boolean isDigging() {
 | ||||
| +        return getHandle().isLayingEgg();
 | ||||
| +        return this.getHandle().isLayingEgg();
 | ||||
| +    }
 | ||||
| +
 | ||||
| +    @Override
 | ||||
| +    public void setHasEgg(boolean hasEgg) {
 | ||||
| +        getHandle().setHasEgg(hasEgg);
 | ||||
| +        this.getHandle().setHasEgg(hasEgg);
 | ||||
| +    }
 | ||||
| +    // Paper end
 | ||||
|  } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jake Potrebic
				Jake Potrebic