Skip to content

Instantly share code, notes, and snippets.

distributions {
main {
contents {
into('war-distribution') {
from {
project(':warproject').buildDir
}
}
}
}
distributions {
main {
contents {
into('war-distribution') {
from(project(':warproject').buildDir+'/libs')
}
}
}
}
configurations {
includeJars
excludeJars
}
dependencies{
includeJars 'org.apache.commons:commons-io:1.3.2'
includeJars 'org.icefaces:icefaces-bundle:1.8.2'
excludeJars 'javax.servlet:servlet-api:0.2.3'
}
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
/**
* Created by Theresa on 02/10/2014.
*/
public class ValidInputTest {
/**
* Edit XP
* @param player The player to edit XP for
* @param xpChange The Xp to set add or remove
* @param command The command to execute
*/
public void editxp(Player player, int xpChange, String command)
{
/**
Summary
Operating System
Windows 7 Ultimate 64-bit SP1
CPU
Intel Core 2 Quad Q8400S @ 2.66GHz 46 °C
Yorkfield 45nm Technology
RAM
8.00GB Dual-Channel DDR3 @ 533MHz (7-7-7-19)
Motherboard
ASUSTeK Computer INC. P5G41T-M LX (LGA775) 35 °C
The Flow Zone
Much has been written about the hyper-productive state known as “flow.” Some programmers call it “the Zone.” Whatever it is called, you are probably familiar with it. It is the highly focused, tunnel-vision state of consciousness that programmers can get into while they write code. In this state they feel productive. In this state they feel infallible. And so they desire to attain that state, and often measure their self-worth by how much time they can spend there.
Here’s a little hint from someone whose been there and back: Avoid the Zone. This state of consciousness is not really hyper-productive and is certainly not infallible. It’s really just a mild meditative state in which certain rational faculties are diminished in favor of a sense of speed.
Let me be clear about this. You will write more code in the Zone. If you are practicing TDD, you will go around the red/green/refactor loop more quickly. And you will feel a mild euphoria or a sense of conquest. The problem is that you lose some o
[05:36:29 WARN]: EnergyNet.removeTileEntity: mekanism.common.tile.TileEntityEnergyCube@6ef1cf78 (mekanism.common.tile.TileEntityEnergyCube@6ef1cf78) doesn't match the registered te mekanism.common.tile.TileEntityEnergyCube@6c0be9a, skipping
[05:36:29 WARN]: EnergyNet.removeTileEntity: mekanism.common.tile.TileEntityEnergyCube@456c082f (mekanism.common.tile.TileEntityEnergyCube@456c082f) doesn't match the registered te mekanism.common.tile.TileEntityEnergyCube@1d33e4ed, skipping
[05:36:29 WARN]: EnergyNet.removeTileEntity: mekanism.common.tile.TileEntityEnergyCube@378d6944 (mekanism.common.tile.TileEntityEnergyCube@378d6944) doesn't match the registered te mekanism.common.tile.TileEntityEnergyCube@71ad91ef, skipping
[05:36:37 WARN]: EnergyNet.addTileEntity: mekanism.common.tile.TileEntityEnergyCube@53fcd5a (mekanism.common.tile.TileEntityEnergyCube@53fcd5a) is still conflicting with mekanism.common.tile.TileEntityEnergyCube@71ad91ef using the same position (overlapping), aborting
[05:36:37 WARN]: EnergyNet.ad
[B#439] 2014/08/31 19:21:40 [INFO] Opening options for InstalledPack{info=PlatformPackInfo{name='morepower-ii', displayName='MorePower II', url='https://dl.dropboxusercontent.com/u/81097712/MorePower-II-0_1.zip', icon=null, logo=net.technicpack.launchercore.restful.Resource@71ba3d56, background=net.technicpack.launchercore.restful.Resource@7a11136e, minecraft='1.7.10', forge='null', version='1.0', solder='', forceDir=false}, name='morepower-ii', platform=true, build='recommended', directory='%MODPACKS%\morepower-ii'}
[B#439] 2014/08/31 19:21:40 [INFO] PlatformPackInfo{name='morepower-ii', displayName='MorePower II', url='https://dl.dropboxusercontent.com/u/81097712/MorePower-II-0_1.zip', icon=null, logo=net.technicpack.launchercore.restful.Resource@71ba3d56, background=net.technicpack.launchercore.restful.Resource@7a11136e, minecraft='1.7.10', forge='null', version='1.0', solder='', forceDir=false}
[B#439] 2014/08/31 19:21:49 [INFO] Analytics Response [installModpack]: 200
[B#439] 2014/08/31 19:21:50 [INFO] S
---- Minecraft Crash Report ----
// I let you down. Sorry :(
Time: 07/06/14 21:05
Description: Exception in server tick loop
cpw.mods.fml.common.MissingModsException
at cpw.mods.fml.common.Loader.sortModList(Loader.java:228)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:486)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:85)