Mathias Eklund Wow... I can't believe I forgot the 1...
I have the following method in my code: public void protect(Set<Location> locations) { for(Location l : locations) { int x =...
Louis1234567890987654321 JRL1004 xBlackLightx Thanks for all your help! I realized that getTargetBlock() was not bugged, it was just that I used...
JRL1004 The falling block approach doesn't work. It gets spawned and all, but it doesn't detect me looking at it. I think it's because the block...
JRL1004 I think I'm brain dead tonight, how would I iterate through the online players and check if all of them are not looking at the block?...
JRL1004 Ok this sounds kind of dumb, but where do I put the repeating task in my code? I can't just put it in the class without it being in an...
JRL1004 Ok, but is there any way that I can reduce lag even more by making the repeating task only run when someone is moving?
JRL1004 Ok, but how do I make it not run every time PME fires?
HiddenAether You have to use valueOf() to convert the string in your config to a material. Make your code this: p.getInventory().setBoots(new...
I know that you can use a PlayerMoveEvent to change a block when a player is not looking at it, but how would I change it when everyone is not...
HiddenAether What's the error?
HiddenAether In your Commands class put this code: public Main plugin; public Commands(Main plugin) { this.plugin = plugin; } Then change...
JRL1004 Hmm okay... thanks again.
Max_The_Link_Fan No, I want to know how Bukkit determines that the location that is cast to "from" in the PlayerMoveEvent class is the location of...
In Bukkit's PlayerMoveEvent, when getFrom() and getTo() are defined, it says nothing about getting the coordinates of the player before and after...
Separate names with a comma.