Prevents the sign location of a portal with no sing from being added to lookup blocks and controls
This commit is contained in:
		@@ -271,8 +271,10 @@ public class PortalRegistry {
 | 
			
		||||
            lookupBlocks.put(block, portal);
 | 
			
		||||
        }
 | 
			
		||||
        //Register the sign and button to the lookup lists
 | 
			
		||||
        if (!portal.getOptions().hasNoSign()) {
 | 
			
		||||
            lookupBlocks.put(portal.getSignLocation(), portal);
 | 
			
		||||
            lookupControls.put(portal.getSignLocation(), portal);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BlockLocation button = portal.getStructure().getButton();
 | 
			
		||||
        if (button != null) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user