mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-26 07:03:45 +01:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			renovate/g
			...
			fix/v6/rel
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 5c1cc38702 | 
| @@ -57,8 +57,12 @@ public class SetHome extends SetCommand { | |||||||
|                 Plot base = plot.getBasePlot(false); |                 Plot base = plot.getBasePlot(false); | ||||||
|                 Location bottom = base.getBottomAbs(); |                 Location bottom = base.getBottomAbs(); | ||||||
|                 Location location = player.getLocationFull(); |                 Location location = player.getLocationFull(); | ||||||
|                 BlockLoc rel = new BlockLoc(location.getX() - bottom.getX(), location.getY(), |                 BlockLoc rel = new BlockLoc( | ||||||
|                         location.getZ() - bottom.getZ(), location.getYaw(), location.getPitch() |                         location.getX() - bottom.getX(), | ||||||
|  |                         location.getY(), // y is absolute | ||||||
|  |                         location.getZ() - bottom.getZ(), | ||||||
|  |                         location.getYaw(), | ||||||
|  |                         location.getPitch() | ||||||
|                 ); |                 ); | ||||||
|                 base.setHome(rel); |                 base.setHome(rel); | ||||||
|                 player.sendMessage(TranslatableCaption.of("position.position_set")); |                 player.sendMessage(TranslatableCaption.of("position.position_set")); | ||||||
|   | |||||||
| @@ -1465,7 +1465,7 @@ public class Plot { | |||||||
|                     .at( |                     .at( | ||||||
|                             bottom.getWorldName(), |                             bottom.getWorldName(), | ||||||
|                             bottom.getX() + home.getX(), |                             bottom.getX() + home.getX(), | ||||||
|                             bottom.getY() + home.getY(), |                             home.getY(), // y is absolute | ||||||
|                             bottom.getZ() + home.getZ(), |                             bottom.getZ() + home.getZ(), | ||||||
|                             home.getYaw(), |                             home.getYaw(), | ||||||
|                             home.getPitch() |                             home.getPitch() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user