remove debug stuff

This commit is contained in:
dfsek
2021-02-23 22:36:22 -07:00
parent 4171768cc9
commit 83f981111a
3 changed files with 0 additions and 7 deletions

View File

@@ -25,11 +25,7 @@ public class Injector<T> {
for(Field field : ReflectionUtil.getFields(object.getClass())) {
Inject inject = field.getAnnotation(Inject.class);
if(inject == null) continue;
System.out.println(field);
System.out.println("attempting to inject " + value.getClass() + " to " + field.getClass());
if(value.getClass().equals(field.getType()) || targets.contains(field.getType())) {
System.out.println("injecting...");
int mod = field.getModifiers();
if(Modifier.isFinal(mod)) {
throw new InjectionException("Attempted to inject final field: " + field);

View File

@@ -62,7 +62,6 @@ public class LootTable {
newStack.setAmount(1);
int slot = r.nextInt(i.getSize());
ItemStack slotItem = i.getItem(slot);
System.out.println("attempt: " + (slotItem == null ? null : slotItem.getHandle()));
if(slotItem == null) {
i.setItem(slot, newStack);
stack.setAmount(stack.getAmount() - 1);