@@ -116,7 +116,7 @@ private void unTagPlayer(Player player) {
116116 //Stuff
117117
118118 @ EventHandler (priority = EventPriority .HIGHEST , ignoreCancelled = true )
119- public void onCombat (EntityDamageByEntityEvent e ) {
119+ public void onCombat (final EntityDamageByEntityEvent e ) {
120120
121121 final Entity target = e .getEntity ();
122122
@@ -158,7 +158,7 @@ public void onCombat(EntityDamageByEntityEvent e) {
158158 }
159159
160160 @ EventHandler (priority = EventPriority .LOWEST , ignoreCancelled = true )
161- public void onCommand (PlayerCommandPreprocessEvent e ) {
161+ public void onCommand (final PlayerCommandPreprocessEvent e ) {
162162 if (!Config .Setting .COMBATLOG_COMMANDS_ENABLED .getBoolean ()) return ;
163163
164164 final Player p = e .getPlayer ();
@@ -176,7 +176,7 @@ public void onCommand(PlayerCommandPreprocessEvent e) {
176176 }
177177
178178 @ EventHandler (priority = EventPriority .LOWEST )
179- public void onQuit (PlayerQuitEvent e ) {
179+ public void onQuit (final PlayerQuitEvent e ) {
180180
181181 final Player p = e .getPlayer ();
182182
@@ -191,7 +191,7 @@ public void onQuit(PlayerQuitEvent e) {
191191 }
192192
193193 @ EventHandler (priority = EventPriority .HIGHEST , ignoreCancelled = true )
194- public void onItemDrop (PlayerDropItemEvent e ) {
194+ public void onItemDrop (final PlayerDropItemEvent e ) {
195195 if (!Config .Setting .COMBATLOG_PREVENT_DROPPING_ITEMS .getBoolean ()) return ;
196196
197197 final Player p = e .getPlayer ();
@@ -203,14 +203,14 @@ public void onItemDrop(PlayerDropItemEvent e) {
203203 }
204204
205205 @ EventHandler (priority = EventPriority .LOWEST , ignoreCancelled = true )
206- public void onDeath (PlayerDeathEvent e ) {
206+ public void onDeath (final PlayerDeathEvent e ) {
207207 if (!isTagged (e .getEntity ())) return ;
208208
209209 unTagPlayer (e .getEntity ());
210210 }
211211
212212 @ EventHandler (priority = EventPriority .HIGHEST , ignoreCancelled = true )
213- public void onItemPick (EntityPickupItemEvent e ) {
213+ public void onItemPick (final EntityPickupItemEvent e ) {
214214 if (!Config .Setting .COMBATLOG_PREVENT_PICKING_ITEMS .getBoolean ()) return ;
215215 if (!(e .getEntity () instanceof Player )) return ;
216216 final Player p = (Player ) e .getEntity ();
@@ -221,7 +221,7 @@ public void onItemPick(EntityPickupItemEvent e) {
221221 }
222222
223223 @ EventHandler (priority = EventPriority .LOWEST , ignoreCancelled = true )
224- public void onTeleport (PlayerTeleportEvent e ) {
224+ public void onTeleport (final PlayerTeleportEvent e ) {
225225 if (!Config .Setting .COMBATLOG_PREVENT_TELEPORTATIONS .getBoolean ()) return ;
226226 final Player p = e .getPlayer ();
227227
0 commit comments