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