Whitespace + general cleanup

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
CraftBukkit/Spigot
2011-05-14 16:29:42 +02:00
parent 045c14c210
commit 776b9efd3e
21 changed files with 101 additions and 102 deletions

View File

@@ -125,7 +125,7 @@ public class CraftEventFactory {
/**
* Player Interact event
*/
public static PlayerInteractEvent callPlayerInteractEvent(EntityHuman who, Action action, ItemStack itemstack) {
if (action != Action.LEFT_CLICK_AIR && action != Action.RIGHT_CLICK_AIR) {
throw new IllegalArgumentException();