This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Player.java b/src/Player.java | |
index dd52edc..d9ca468 100644 | |
--- a/src/Player.java | |
+++ b/src/Player.java | |
@@ -712,7 +712,7 @@ public class Player extends HumanEntity implements MessageRe | |
log.info(getName() + " created a lighter!"); | |
giveItem(259, 1); | |
} | |
- } else if ((command.startsWith("/#")) && (etc.getMCServer().f.g(get | |
+ } else if ((command.startsWith("/#")) && (etc.getMCServer().f.h(get |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** The {@code BaseCommand} that's handling the command */ | |
private static final BaseCommand tpto = new BaseCommand( | |
"[x] [y] [z] - Teleports you to the given coordinates", | |
"Usage: /tpto [x] [y] [z]", 4, 5) { | |
@Override | |
void execute(MessageReceiver caller, String[] split) { | |
Player toWarp; | |
if (split.length == 5) { | |
if ((toWarp = etc.getServer().matchPlayer(split[4])) == null) { | |
caller.notify("Could not find player " + split[4]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while [ -e restart.txt ]; do | |
rm restart.txt | |
java -Xms1024M -Xmx1024M -jar CanaryMod.jar nogui | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Hooked.java | |
* <br><br> | |
* Controls custom hook information by easily helping you figure out what is what without recieving errors on the matter. | |
* | |
* @author Nijikokun <[email protected]> | |
*/ | |
public class Hooked { | |
public Hooked() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/runtime/commands.py b/runtime/commands.py | |
index f497962..62ec33a 100644 | |
--- a/runtime/commands.py | |
+++ b/runtime/commands.py | |
@@ -248,24 +248,30 @@ class Commands(object): | |
self.has_jad = False | |
self.has_ff = False | |
self.has_astyle = False | |
+ | |
+ self.fernflower = os.path.normpath(self.config.get('COMMANDS', 'Fernflower')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Debug | |
function debug() { | |
oldopts="$-" | |
function on_exit() { | |
[[ "$oldopts" =~ .*x.* ]] && set +x | |
} | |
set -x | |
trap on_exit EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sl () { ls "$@" | perl -lpe "\$_ = reverse" | while read; do printf "%${COLUMNS}s" "$REPLY"; done; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright © 2013 Willem Mulder | |
* This program is free software. It comes without any warranty, to | |
* the extent permitted by applicable law. You can redistribute it | |
* and/or modify it under the terms of the Do What The Fuck You Want | |
* To Public License, Version 2, as published by Sam Hocevar. See | |
* http://www.wtfpl.net/ for more details. | |
*/ | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hexchat | |
__module_name__ = "Filter prefix-channel messages" | |
__module_version__ = "0.3.1" | |
__module_description__ = "Places messages to [prefix]#[channel] in their own tab" | |
def filter_atmsg(word, word_eol, userdata, attrs): | |
if len(word[2]) >= 2 and word[2][1] == '#' and word[2][0] != '#': | |
user = word[0] | |
bangind = user.find("!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
if __name__ == "__main__": | |
# Unbuffer stdout | |
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) | |
print "Loading world...", | |
from pymclevel import mclevel |
OlderNewer