Archiviert
13
0
Dieses Repository wurde am 2021-01-06 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
ProtocolLib/ProtocolLib
Kristian S. Stangeland 456764468a Always generate classes with legal identifiers.
Certain types, such as ItemStack[], would cause the StructureCompiler
to generate classes with the name CompiledStructure@ParentItemStack[],
which are not legal names.

Instead, we'll replace the brackets with the word Array.

In addition, to accomodate classes with identical names, we'll use
the following naming convention instead:
CompiledStructure$[Canonical name of target]$Canonical name of type],
where the canonical name (net.minecraft.server.ItemStack[]) is 
transformed to a legal name by replacing "." to "_" and "[]" to array.

In our example, that would result in the following class name:
    net_minecraft_server_ItemStackArray
2012-11-20 03:50:44 +01:00
..
.settings Added configuration and commands. 2012-11-03 00:38:57 +01:00
src Always generate classes with legal identifiers. 2012-11-20 03:50:44 +01:00
.classpath Added configuration and commands. 2012-11-03 00:38:57 +01:00
.gitignore Switching to Maven instead of Ant. 2012-10-10 21:35:55 +02:00
.project Massive update that adds support for intercepting packets during login. 2012-10-16 07:28:54 +02:00
dependency-reduced-pom.xml Fixed a bug that would clear the debug listeners on "add". 2012-11-16 03:57:55 +01:00
pom.xml Incrementing to 1.6.1-SNAPSHOT for development to the next version. 2012-11-13 17:50:22 +01:00