From 31c5894743d1c0701de7d0d89184467a5a82e6d8 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Mon, 3 Jan 2011 03:25:58 +0000 Subject: [PATCH] Light levels are bytes --- src/main/java/org/bukkit/craftbukkit/CraftBlock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/CraftBlock.java index 77407749d9..4b0520a917 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftBlock.java @@ -138,11 +138,11 @@ public class CraftBlock implements Block { } /** - * Gets the light level between 0-15. + * Gets the light level between 0-15 * * @return light level */ - public int getLightLevel() { + public byte getLightLevel() { return light; }