Allow for logging of item data greater than 256. Fixes #96, #235

This change involves refactoring many instances of "byte" to "short and altering a few ItemStack calls to use the int,int,short form instead of int,int,0,byte
Significantly it also involves altering the MaterialName system to allow shorts instead of bytes, and altering the rawdata() function to return the durability of an ItemStack rather than the data value of its Material.

One side effect of this is that tool durability is now logged, which will make for more accurate rollbacks.
This commit is contained in:
Philip Cass committed 2013-12-04 11:29:02 +00:00
1 parent d50c48f79d
commit c0b983e8e8
9 files changed
+51 -23

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
name: ${project.name}
version: '1.71'
version: '1.72'
author: DiddiZ
authors: [md_5, ammar2]
website: http://dev.bukkit.org/server-mods/logblock/