Skip to content

Instantly share code, notes, and snippets.

View xaniox's full-sized avatar

Matthias Werning xaniox

View GitHub Profile

Keybase proof

I hereby claim:

  • I am xaniox on github.
  • I am xaniox (https://keybase.io/xaniox) on keybase.
  • I have a public key ASBKHA7M1QJhSlO71e6-DS2LMH9-LO2QyvocJ1kDpQchDwo

To claim this, I am signing this object:

@xaniox
xaniox / LightTask.java
Last active August 29, 2015 14:26
A simple class which makes use of the LightAPI by EvilSpawn and spawns light sources when the player holds a torch
package de.matzefratze123.torchlight;
import java.lang.ref.WeakReference;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.bukkit.Bukkit;
import org.bukkit.Location;