I think this rename makes sense.
This commit is contained in:
		
							parent
							
								
									18da8c1250
								
							
						
					
					
						commit
						bf22f9e289
					
				@ -110,7 +110,7 @@ public class Board extends Entity<Board> implements BoardInterface
 | 
				
			|||||||
			// NOTE: And this is probably the place where the event should be triggered!
 | 
								// NOTE: And this is probably the place where the event should be triggered!
 | 
				
			||||||
			if (ConfServer.onUnclaimResetLwcLocks && LWCFeatures.getEnabled())
 | 
								if (ConfServer.onUnclaimResetLwcLocks && LWCFeatures.getEnabled())
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				LWCFeatures.clearAllChests(ps);
 | 
									LWCFeatures.clearAllProtections(ps);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			this.map.remove(ps);
 | 
								this.map.remove(ps);
 | 
				
			||||||
 | 
				
			|||||||
@ -869,7 +869,7 @@ public class FPlayer extends SenderEntity<FPlayer> implements EconomyParticipato
 | 
				
			|||||||
		// TODO: The LWC integration should listen to Monitor for the claim event.
 | 
							// TODO: The LWC integration should listen to Monitor for the claim event.
 | 
				
			||||||
		if (LWCFeatures.getEnabled() && forFaction.isNormal() && ConfServer.onCaptureResetLwcLocks)
 | 
							if (LWCFeatures.getEnabled() && forFaction.isNormal() && ConfServer.onCaptureResetLwcLocks)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			LWCFeatures.clearOtherChests(flocation, this.getFaction());
 | 
								LWCFeatures.clearOtherProtections(flocation, this.getFaction());
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// announce success
 | 
							// announce success
 | 
				
			||||||
 | 
				
			|||||||
@ -38,7 +38,7 @@ public class LWCFeatures
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	public static void clearAllChests(PS chunkPs)
 | 
						public static void clearAllProtections(PS chunkPs)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		for (Protection protection : getProtectionsInChunk(chunkPs))
 | 
							for (Protection protection : getProtectionsInChunk(chunkPs))
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@ -46,7 +46,7 @@ public class LWCFeatures
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	public static void clearOtherChests(PS chunkPs, Faction faction)
 | 
						public static void clearOtherProtections(PS chunkPs, Faction faction)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		for (Protection protection : getProtectionsInChunk(chunkPs))
 | 
							for (Protection protection : getProtectionsInChunk(chunkPs))
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user