Ensure comparison of ints with == instead of Integers
This commit is contained in:
parent
286a9fe246
commit
9acd6b7832
@ -121,7 +121,7 @@ public class CommunitySettingsPage extends CommunitiesGUIPage
|
||||
@EventHandler
|
||||
public void onSettingsUpdate(CommunitySettingUpdateEvent event)
|
||||
{
|
||||
if (event.getCommunity().getId() != _community.getId())
|
||||
if (event.getCommunity().getId().intValue() != _community.getId().intValue())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user