Ensure comparison of ints with == instead of Integers

This commit is contained in:
AlexTheCoder 2016-12-22 21:42:12 -05:00 committed by cnr
parent 286a9fe246
commit 9acd6b7832

View File

@ -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;
}