catageek / ByteCart

Minecraft plugin for bukkit to create a LAN/WAN rail network with routing algorithm
GNU General Public License v3.0
27 stars 9 forks source link

Compile errors with containsAtLeast #1

Closed srainsdon closed 11 years ago

srainsdon commented 11 years ago

I could just be doing something wrong but here is what i get after importing it to eclipes and linking the bukkit jar file. am i missing something?

Error 1:

The method containsAtLeast(ItemStack, int) is undefined for the type Inventory InventoryHalfStack.java /ByteCart/src/com/github/catageek/ByteCart/IO line 272 Java Problem

Error 2:

The method containsAtLeast(ItemStack, int) of type InventoryHalfStack must override or implement a supertype method InventoryHalfStack.java /ByteCart/src/com/github/catageek/ByteCart/IO line 271 Java Problem

catageek commented 11 years ago

Hello,

The containsAtLeast method was added in Bukkit API 1.4.6, so ByteCart is not compatible with Bukkit 1.4.5. I changed the compatibility of the file to 1.4.6-r3 to reflect this.

Yesterday I started to apply a versioning method that will help me to stick to Bukkit API versioning plan. this is quite new for me.